#ifndef FILE_SAVE_UTIL_
#define FILE_SAVE_UTIL_

#include <iostream>
#include <sstream>

using std::string;
using std::stringstream;

class FileSaveUtil
{
public:
    static int saveStrFile(string savePath, string saveStr);

private:
    static int lockFile(int fd, short lockType);
};

#endif